USE [BMIG_MENSUAL_POST_CADENA]

 -- creating the store procedure
IF EXISTS (SELECT name 
	   FROM   sysobjects 
	   WHERE  name = N'WASP_M0006_CANTIDAD'
	   AND 	  type = 'P') 
	DROP PROCEDURE WASP_M0006_CANTIDAD
GO

CREATE PROCEDURE [dbo].[WASP_M0006_CANTIDAD]AS
BEGIN
  SELECT COUNT(*)  AS CANTIDAD
  FROM dbo.as_colocacion_mensual_temp
END  